package com.donn.securitycontrolplatform.equipment.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.donn.securitycontrolplatform.common.Result;
import com.donn.securitycontrolplatform.equipment.entity.TEquipment;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-19
 */
public interface ITEquipmentService extends IService<TEquipment> {

    Result selectTEquipmentList(TEquipment tEquipment, Page page);

    Result geTEquipmentById(String equipmentId);

    Result deleteTEquipment(String equipmentId);

    Result updateTEquipment(TEquipment tEquipment);

    Result insertTEquipment(TEquipment tEquipment);

    Result getQuantityBy(LocalDateTime startTime, LocalDateTime endTime);
}
